<?php
class Mageex_AdvanceSeo_Helper_Sitemap extends Mage_Core_Helper_Abstract
{
	protected $_storeId;
	
	public function __construct()
	{
			$this->_storeId = Mage::app()->getStore()->getId();
	}
	public function isEnabled() 
	{
		return Mage::getStoreConfig('mageex_advanceseo/sitemap/enablesitemap', $this->_storeId);
	}
	public function getFileSize() 
	{
		return Mage::getStoreConfig('mageex_advanceseo/sitemap/filesize', $this->_storeId);
	}
	public function getMaximumUrl() 
	{
		return Mage::getStoreConfig('mageex_advanceseo/sitemap/maximumurl', $this->_storeId);
	}
	public function isEnableSubmit()
	{
		return Mage::getStoreConfig('mageex_advanceseo/sitemap/enablesubmit', $this->_storeId);
	}
	public function isAutoSubmit() 
	{
		return Mage::getStoreConfig('mageex_advanceseo/sitemap/autosubmit', $this->_storeId);
	}
	public function getYahooKey() 
	{
		return Mage::getStoreConfig('mageex_advanceseo/sitemap/yahookey', $this->_storeId);
	}
	public function getTypeSubmit()
	{
		return Mage::getStoreConfig('mageex_advanceseo/sitemap/typesubmit', $this->_storeId);
	}
}
?>